/** Copyright 2020 Tianshu AI Platform. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*     http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* =============================================================
*/

.basic-tooltip {
  position: absolute;
  min-width: 280px;
  padding: 32px 32px 24px;
  overflow: hidden;
  font-size: 14px;
  background: #fff;
  border: 1px solid #ebeef5;
  border-radius: 4px;
  box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.15);
  backface-visibility: hidden;
}

.tooltip-item-row {
  display: flex;
  margin-bottom: 4px;
  font-size: 14px;
  white-space: nowrap;

  .tooltip-item-label {
    min-width: 80px;
  }

  .tooltip-item-text {
    flex: 1;
  }

  &:last-child {
    margin-bottom: 0;
  }
}
